package com.zisu.elasticsearch.ElasticSearch.pojo;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2020/11/30 13:32
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonPropertyOrder(value = {"name","age"})
public class User {
    private String name;
    private int age;
}
